Method for interactive construction of virtual 3D circuit models

ABSTRACT

The present invention provides a processing system for enabling modifications to be made to a virtual design in a CAD system, in particular a collaborative CAD system with a number of spatially distributed users. An indication is constantly provided as to the degrees of freedom of the components involved in any modification and the effects on the degrees of freedom of any changes to be made.

FIELD OF THE INVENTION

[0001] The present invention relates to a system for computer-aided design (CAD) and particularly for use in a multi-user, real-time collaborative CAD design process.

BACKGROUND

[0002] The present invention is for use in computer-aided construction or computer-aided design (CAD) and, particularly, mechanical CAD (MCAD). The method is used in simulating assembling and construction of models in virtual environments, whereby designers can try out and visualise different arrangements and interconnections, positioning, etc. and the effects of changes in the positioning or orientation of one component on other components. This enables the designer to make changes during the design process, before a model is actually built.

[0003] It has recently become more important that various designers and other participants can work on and view a design simultaneously, during the design process. Most engineering design results from the joint efforts of a highly qualified team of engineers, designers, marketing specialists, etc. The people involved in any particular product design may belong to different companies and may be based in widely differing locations.

[0004] To simplify such ‘collaborative’ design, a number of systems have been developed allowing designers based in different locations to work together over a network in a ‘Virtual Design Studio’.

STATE OF THE ART

[0005] There are essentially two commonly used types of systems for construction simulation, namely collision detection and assembly modelling.

[0006] The collision detection method starts with tessellated models to achieve real-time capability. The collision detection between one or more moved components and their surrounding serves to identify whether the component or component group can be built without collision.

[0007] A number of disadvantages are, however, associated with collision-based construction processes. In particular, the tessellation results in a loss of accuracy and a loss in relationship with topological entities.

[0008] Furthermore, collision detection can, as the name suggests, only detect when two parts collide, within a given approximation accuracy and cannot determine when two parts ‘fit’.

[0009] In assembly modelling processes, at the beginning, and during the construction, ‘assembly features’ can be added. These assembly features are essentially ‘sub’ components described in terms of their geometry and also their nature or behaviour. For example, a ‘blind hole’ can be defined as an assembly feature which is defined in terms of its geometrical features (length and radius) and also contains information on the direction in which the ‘blind hole’ is ‘open’. This latter information is often represented by coordinate systems or frames. Such schematic information can be retrieved later for construction. A system related to this process takes into account ‘allowable motion’. This provides an efficient means of satisfying 3D constraints by applying a number of transformation operations to the geometric entity, without invalidating its previously satisfied constraints. The technique of allowable motion is also used for developing an intuitive graphical means of achieving the accurate 3D positioning of a solid model by automatically constraining its 3D manipulation.

[0010] However, using such a system, relationships between components and their topological entity cannot be correctly introduced by user interaction. Furthermore, there is no, or insufficient depiction or visualisation of the degree of freedom which the various components have. Furthermore, a relationship cannot act simultaneously on a group of components.

[0011] Anantha et al. (“Assembly modelling by geometric constraint satisfaction”, Computer-Aided Design, Vol. 28, No. 9, 1996) describe a way of combining assemblies on the basis of an assembly feature based model. This document teaches the use of analysis of degree of freedom of movement. However, it does not address intuitive interaction and real-time visualisation of the degree of freedom of components by several distributed engineers in a collaborative session.

[0012] Various commercial CAD systems are now available for positioning components and constructing circuits or computer models.

[0013] Some known systems, e. g. CATIA, IDEAS and Pro/E are constraint based systems.

[0014] In constraint based systems, the positioning of the components is defined by constraints or edge conditions defined by the user. Such constraints can be, for example, coincidence, parallelity, etc. The user first defines all of the required constraints and then an algorithm determines whether the various components can be positioned and/or reorientated to satisfy the edge conditions. If not, a message is displayed to the user and the user can then try to re-design to remove any obstructions preventing these conditions being satisfied.

[0015] However, a problem with such constraint based systems is that the user must first introduce or define all the required constraints and, only then, does the system see if the components can be positioned in accordance with these constraints. Thus, while the user is actually defining the constraints, he cannot be sure whether these are actually capable of being fulfilled. Such systems do not allow any intermediate checking as to whether the edge conditions can be fulfilled.

[0016] Other design systems currently available use the non-constraint based technique such as used in CoCreate's SolidDesigner product and IronCAD. SolidDesigner allows components to be positioned or orientated relative to each other by translation and rotation. During the design process, a positioning step can be carried out on a component, but this step in itself does not permanently constrain the position of the component and does not effect its degree of freedom. Thus, with each further transformation, the existing positioning can be changed.

[0017] IronCAD goes one step further and offers predefined position characteristics, e. g. surface-on-surface. In the IronCAD system, the positioning step is, again, temporary and can be later undone.

[0018] Although many advances have been made in systems for simulating the construction of virtual 3D-CAD models, and the various systems currently in use are very highly developed, they are still not ideally suited for decentralised collaborative real-time construction. They either require generation of construction-relevant data in advance or require knowledge of the construction history, when a change to the design is being made. Alternatively, existing systems may have problems as regards accuracy and are unable to provide to the user the necessary visual information which is required for collaborative design.

[0019] The present invention aims to solve these problems by enabling, in the simplest way possible, the assembly or construction of virtual 3D-CAD models which can be simultaneously worked on by a number of participants located in different places.

[0020] The system of the present invention provides information to the users which enables them to visualise the possibilities as to positioning and orientation of components in the design.

[0021] According to the invention, there is provided a method of changing the relative position and/or orientation of two components of a virtual model displayed on a screen, the method comprising:

[0022] selecting the components whose relative position and/or orientation is to be changed;

[0023] defining the change to be made; and

[0024] calculating and providing on the screen an indication of the remaining degrees of freedom of the components after the change has been made.

[0025] Preferred embodiments of the invention will now be described, by way of example only, with reference to the accompanying drawings.

[0026]FIG. 1 shows possible geometric associations between components;

[0027]FIG. 2 is a flowchart showing the steps of a method in accordance with the invention;

[0028]FIG. 3 shows an example of two objects being positioned in accordance with the invention; and

[0029] FIGS. 4 to 11 show different visual feedbacks.

[0030] The invention can preferably be used in the context of one of the existing 3D collaboration design systems such as the OneSpace system of CoCreate. All participants in the design process are connected in a network via a ‘collaboration server’. The reference model, which is always the current model, is contained in the server and changes made by individual participants to the model are communicated to all of the other participants via the server. Thus, all users see the same model at any time and all changes are continuously conveyed to all users. However, the users are able to select any view of the current model.

[0031] To position a component relative to another, the user selects the appropriate topological entities using a mouse click, for example, and associates these with each other, e. g. edge of component A to edge of component B. One component acts as a reference element and the other is translated and/or rotated relative to this reference element if its degree of freedom permits, as discussed below. The role of moved component and reference component can, of course, be changed from operation to operation.

[0032] To overcome collisions with other users, when one user is carrying out an operation, the components involved in that operation are ‘locked’ by the collaboration server, for the duration of the interaction, for all other users.

[0033] The components involved in any particular operation are automatically locked, short time, via the collaboration server and indicated to the users by a ‘lock feedback’.

[0034] After the operation has been completed, the locking on these components is removed and they are available to all participants.

[0035] Instead of moving one component at a time, a group of components can be selected and positioned, thus enabling partial assemblies to be moved and positioned.

[0036] Topological entities can be associated with each other in the following relationships:

[0037] Vertex to vertex

[0038] Edge to edge

[0039] Axis to axis

[0040] Edge to axis and vice versa

[0041] Face to face.

[0042]FIG. 1 shows some operation possibilities in the form of a tree diagram.

[0043] For each combination of degrees of freedom, a vertex, corner, edge or face relationship can be introduced which will reduce, in different ways, the degree of freedom, depending on the geometric constellation of the various associated elements. There are, therefore, 18 (or 21, if the combination 0, 0 is included) different possibilities for reducing the degree of freedom.

[0044] To start with, before being fixed in any position or orientation, the components all have six degrees of freedom—three degrees of rotational freedom and three degrees of translational freedom. After a positioning or orientation operation in relation to another component, the number of degrees of freedom may be reduced. Table 1 below shows combinations of degrees of freedom a component can have, after the above operations. ROTDOF 3 3 1 1 1 0 0 TransDOF 3 0 2 1 0 1 0

[0045]FIG. 2 is a flowchart of the basic process steps when two components or elements are to be associated with each other. First, it is determined whether the desired operation can be fulfilled by transformation of the component within the existing limitations. If so, the component is accordingly transformed. This transformation may involve a reduction in the degrees of freedom. A visual feedback representing the remaining degrees of freedom is calculated, depicted and conveyed to all other users.

[0046] Should the users try to carry out operations which cannot be fulfilled within the existing degrees of freedom, they immediately receive a return message that the allocation cannot be permitted.

[0047] After making the desired transformation, the new positioning and remaining degrees of freedom are incremently conveyed to all participants, via the collaboration server, i. e., to reduce the amount of data transmitted, only changes are transmitted.

[0048] The visual feedback elements, which show the remaining degrees of freedom after a positioning or orientation operation, serve as 3D operating elements (widgets) which can be clicked on to interactively move a component according to its degree of freedom. In order to obtain precise positioning, movements can be split into discrete steps. The user can determine the discrete steps by inputting values.

[0049] The method thus comprises five basic steps:

[0050] checking whether the particular component or group of components is currently available for positioning. If so, the component or group is locked, via the collaboration server, against use by other users during the operation.

[0051] The association between topological entities is introduced by the user, the appropriate transformation of the component or group of components is automatically calculated by the system.

[0052] To do this, first a check is carried out as to whether the current degree of freedom of that component enables it to be positioned or orientated at all. In a second step, the transformation matrix is calculated which leads to the component which is to be moved taking up the appropriate position and/or orientation.

[0053] A check is carried out as to whether this operation reduces the degree of freedom and, if so, the associated degree of freedom is reduced.

[0054] The remaining degree of freedom of the component(s) is calculated and visualised.

[0055] The locking on that component is then released and the new position and new degrees of freedom are transmitted to all users.

[0056]FIG. 3 shows a particular example of two objects being positioned and orientated relative to each other in accordance with the invention.

[0057] The two objects A and B have a corner-to-corner or vertex-to-vertex relationship. The designer then wishes to introduce an edge-to-edge relationship. Any other combinations can be carried out in a similar manner.

[0058] At the start, with the corner-to-corner relationship, the two objects still have three rotational degrees of freedom, but no translational degrees of freedom.

[0059] It is then determined whether or not an edge-to-edge positioning is possible for these two components. It is determined, in this case, that the edge-to-edge association can be precisely carried out by rotation (a translation is not permitted, due to the fact that the components have no translational degrees of freedom), if the distance between the fixed points, where the two corners are connected, and the edge of the reference component A is equal to the distance between the fixed point and the edge to be moved (of component B).

[0060] In this case, it is determined that the desired operation is possible and then the transformation matrix for carrying out this operation is determined. In this case, the transformation matrix (here a rotation matrix) is given by the following equation:

[0061] rotAxis=crossProd(v_(m), v_(f))),

[0062] rotAngle=angle (v_(m), v_(f)) and

[0063] fixpoint

[0064] with

[0065] v_(m)=movedEdge.nearestPoint(fixPoint)-fixPoint

[0066] v_(f)=fixEdge.nearestPoint(fixPoint)-fixPoint

[0067] The transformation is then carried out. As this operation results in a reduction in the degrees of freedom of the components, this reduction is then also calculated. The combination of the fixed point and the edge-to-edge association leaves no further movement possibilities for these components, i. e. after the edge-to-edge association, the degree of rotational freedom is also reduced to zero. Thus, in this case, there is no need to calculate and depict a visual feedback showing the remaining degrees of freedom.

[0068] Should fixedpoint lie on the moved edge and on the fixed edge, then a fixed axis results which includes the fixed point and there then remains a rotational degree of freedom for the combined assembly which can be correspondingly visualised.

[0069] FIGS. 4 to 11 show various visual feedbacks, which show the user the remaining degrees of freedom.

[0070]FIG. 4 shows the situation after a surface-to-surface association, showing the visual feedback for two translational and one rotational degrees of freedom.

[0071]FIG. 5 shows the situation after an edge-to-edge association, for example, showing the visual feedback for one translational and one rotational degree of freedom.

[0072]FIG. 6 shows the visual feedback for one rotational degree of freedom, e. g. after a corner-to-edge association.

[0073]FIG. 7 shows the visual feedback for one translational degree of freedom, e. g. after an edge-to-surface association.

[0074] A further clarifying example is shown in the next four figures. Here, a ‘counterpiece’ is inserted into a plate with two holes. In the positioning procedure, first, an axis-to-axis association is carried out.

[0075]FIG. 8 shows the situation at the beginning of this process.

[0076]FIG. 9 shows the situation after the axis-to-axis association, showing a visual feedback element for one translational and one rotational degree of freedom.

[0077] In a second interaction step, the two axes are associated by the user and FIG. 10 shows the situation after this axis-to-axis association. The visual feedback has only changed its position and orientation and shows the user that only one translational degree of freedom remains.

[0078] A final surface-to-surface association brings the components into their final position. FIG. 11 shows the final position of the components after the surface-to-surface association.

[0079] Thus, the present invention enables, in the simplest possible way, the assembly or construction of virtual 3D-CAD models which can be simultaneously worked on by a number of participants at spatially separate locations. By successively considering corners, edges, axes and surfaces of the partial models, these are interactively positioned, orientated and their movement possibilities are defined. The remaining degrees of freedom are incremently transmitted to all users and instantaneously visualised. Thus, at every point in time, the distributed users see the same, current model.

[0080] Because the users are shown a visual depiction of the existing degrees of freedom of the part model, at all times, no knowledge of the history of the design process or positioning is needed.

[0081] Using the invention, CAD models of different types can be assembled or constructed in a simple manner, even by non-CAD system users, in a graphically interactive way and simultaneously by members of a team at different locations.

[0082] By successive allocations of corresponding topological entities (surfaces, edges, axes and corners), components are ‘fixed’ with respect to other components, both in position and orientation, in a maximum of three interaction steps.

[0083] The method does not make any definition as to the application of the model. The required information can be extracted from each 3D model without any additional information such as assembly features having previously been added. Thus, the method of the present invention enables members of a team to quickly, and without conflict, position and change the orientation of components relative to each other.

[0084] Compared to the known systems described above, the present invention has the following advantages:

[0085] The interaction is targeted, as required by the users;

[0086] Relationships between various components are not ‘randomly’ introduced;

[0087] The effects of associating two components can be immediately visualised by and to all users;

[0088] The remaining degree of freedom of each component is visually represented to all users;

[0089] Errors and obstructions can be immediately identified, for each operation, and conveyed to the users;

[0090] There is no need for the user to remember all of the constraints to be introduced and the effects of them;

[0091] No additional information needs to be brought in by the user into the modelling process, as is the case with assembly features;

[0092] The accuracy of a CAD model is maintained. There is no need for any reduction in accuracy, as in the case of collision detection, to enable real time interaction;

[0093] The remaining degrees of freedom of each component are transmitted incremently, i. e. the changes only, to all participants, and are then built up and a visual feedback image is depicted;

[0094] All users can take part in the assembly or construction process essentially simultaneously. 

1. A method of changing the relative position and/or orientation of two components of a virtual model displayed on a screen, the method comprising: selecting components whose relative position and orientation is to be changed; defining a change to be made; and calculating and providing on the screen an indication of a remaining degrees of freedom of the components after the change has been made.
 2. The method according to claim 1 , further comprising the step of determining whether the change to be made is possible based on an existing degrees of freedom of the components and, if not, indicating this to a user.
 3. The method according to claim 1 , further comprising the step of calculating a transformation matrix for carrying out the change and performing the change, and further comprising the step of conveying information on a changed position and orientation of the components to a user on-screen, and modifying the virtual model to incorporate the change.
 4. The method according to claim 1 , further comprising the steps of calculating degrees of freedom of the components prior to the change being made; determining whether the change causes a reduction in the degrees of freedom and, if so, effecting the reduction in degree of freedom and providing an indication of the reduction to a user.
 5. The method of claim 3 , wherein the indication of the remaining degrees of freedom of the components, and an indication of the change to the position and orientation of the components is conveyed to the user by only conveying information that has changed since the change to the relative position and orientation.
 6. The method of claim 1 , wherein the virtual model is displayed on a plurality of screens of a plurality of users, such plurality of screens being connected to a common collaboration server, data defining said virtual model at any time being stored in said collaboration server and conveyed to all users.
 7. A method according to claim 6 , wherein, after said step of selecting, a lock signal is transmitted to all the users other than a user who has made the selection, and wherein said lock signal is an indication that the selected components are not available to be moved by any of said other users.
 8. A method according to claim 7 , wherein said lock signal is removed after the change has been made.
 9. A system for changing a relative position and/or orientation of two components of a virtual model displayed on a screen, said system comprising: a storing apparatus that includes data defining a virtual model displayed on at least one screen; an input device that enables an user to input commands to effect a selection of components of the model displayed on said screen whose relative position and orientation is to be changed; a processing apparatus that changes the relative position and orientation of the selected components in accordance with said input commands and that provides on said screen a modified virtual model incorporating the change in relative position and orientation of the selected components and that provides an indication on said screen of a remaining degrees of freedom of said selected components after the change has been made.
 10. The system according to claim 9 wherein a plurality of screens of a plurality of users are connected to a common collaboration server in which the virtual model and the processing apparatus are contained. 